#ifndef ERRORTHREAD_H
#define ERRORTHREAD_H

#include <QThread>
#include "GpioPort.h"

class ErrorThread : public QThread {
    Q_OBJECT
public:
    explicit ErrorThread(QObject *parent = 0);

	void run();
	void stop();

signals:
	void ocrStatusChanged(bool status);
	void scannerStatusChanged(bool status);

public slots:

private:
	bool stopped;
	bool ocrStatus;
	bool scannerStatus;
	GpioPort *gpioPort;
};

#endif // ERRORTHREAD_H
